package com.cici.exception;

public enum ExceptionEnumImpl implements ExceptionEnum   {
    REQUEST_BODY_IS_NULL(1000006, "返回结果为空"),
    CREATE_ERROR(1000007,"创建失败"),//返回结果为空
    ;
    private int code;
    private String message;
    @Override
    public Integer getCode() {
        return code;
    }

    @Override
    public String getMessage() {
        return message;
    }
    ExceptionEnumImpl(int code) {
        this.code = code;
    }

    ExceptionEnumImpl(int code, String message) {
        this.code = code;
        this.message = message;
    }

}
